// 公共样式
.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../assets/icon.png) no-repeat;
    vertical-align: middle;
}

.icon2 {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../assets/icon2.png) no-repeat;
    vertical-align: middle;
}

.playbar {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url(../../assets/details/playbar.png) no-repeat;
}

.iconall{
    display: inline-block;
    width: 22px;
    height: 24px;
    background: url(../../assets/details/iconall.png) no-repeat;
    
}

// 专辑封面和歌词区域
.lyricAlbum {
    width: 100%;
    font-size: 12px;
    color: #333333;

    // 上部主区域
    .topContent {
        width: 100%;
        display: flex;
        justify-content: space-between;

        // 左侧专辑图片
        .album {

            width: 206px;
            height: 234px;

            .cover {
                width: 198px;
                height: 198px;
                position: relative;

                img {
                    width: 130px;
                    height: 130px;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    margin: auto;
                }

                .mask {
                    background: url(../../assets/details/coverall.png) no-repeat -140px -580px;
                    width: 206px;
                    height: 205px;
                    position: absolute;
                    z-index: 2;
                }
            }

            .outerPlayer {
                margin: 20px 0 0 46px;
                font-size: 12px;

                .music {
                    background-position: -34px -863px;
                }

                .des {
                    color: #0c73c2;
                    text-decoration: underline;
                    vertical-align: middle;
                }
            }
        }

        // 右侧歌词区域
        .lyric {
            width: 414px;

            .head {

                .single {
                    background-position: 0 -463px;
                    display: inline-block;
                    width: 54px;
                    height: 24px;
                }

                .title {
                    display: inline-block;
                    margin: 0 7px 0 10px;
                    font-size: 24px;
                    vertical-align: middle;
                }

                .mv {
                    display: inline-block;
                    width: 21px;
                    height: 18px;
                    background-position: 0 -18px;
                }
            }

            .songInfo {
                margin: 10px 0;
                color: #999;

                .info {
                    color: #0c73c2;
                }
            }

            .buttons {
                margin-bottom: 25px;

                button {
                    background: url(../../assets/details/buttons.png) no-repeat;
                    outline: none;
                    border: none;
                    cursor: pointer;
                    min-width: 23px;
                    height: 31px;
                    line-height: 31px;
                    overflow: hidden;
                    vertical-align: top;
                    text-align: center;
                    border-radius: 1px;
                    font-size: 12px;
                    margin-right: 5px;

                    .button {
                        display: inline-block;
                        width: 8px;
                        height: 31px;
                        vertical-align: top;
                        background: url(../../assets/details/buttons.png) no-repeat right -1020px;
                    }

                    &:active {
                        border-style: none;
                    }

                    &.play {
                        background-position: 0 -632px;
                        padding: 0 5px 0 28px;
                        color: #fff;
                        width: 66px;
                        margin: 0;

                        &:hover {
                            background-position: 0 -718px;
                        }
                    }

                    &.add {
                        width: 31px;
                        background-position: 0 -1587px;

                        &:hover {
                            background-position: -40px -1587px;
                        }
                    }

                    &.collect {
                        background-position: 0 -977px;
                        padding: 0 0px 0 28px;
                    }

                    &.share {
                        background-position: 0 -1225px;
                        padding: 0 0px 0 28px;
                    }

                    &.download {
                        background-position: 0 -2761px;
                        padding: 0 0px 0 28px;
                    }

                    &.comments {
                        background-position: 0 -1465px;
                        padding: 0 0px 0 28px;
                    }
                }
            }

            .lyricContent {
                margin-top: 13px;
                line-height: 23px;
                height: 324px;
                overflow: hidden;

                .icon {
                    background: url(../../assets/icon.png) no-repeat;
                    vertical-align: -8px;
                }

                .downArrow {
                    background-position: -65px -520px;
                }

                .upArrow {
                    background-position: -45px -520px;
                }

                .showMore {
                    font-size: 12px;
                    color: #333;
                    line-height: 23px;
                    margin-top: 5px;

                    a {
                        color: #0c73c2;

                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }

    // 上传歌词和报错
    .info {
        line-height: 30px;
        margin-top: 48px;
        text-align: right;

        p {
            margin: 0;

            a {
                color: #999;
                text-decoration: underline;
            }
        }
    }
}

// 评论区
.comments {
    margin-top: 40px;
    font-size: 12px;
    color: #333;

    // 标题
    .title {
        height: 33px;
        border-bottom: 2px solid #c20c0c;

        .title {
            font-size: 20px;
            line-height: 28px;
            display: inline-block;
        }

        .commentsNum {
            margin: 9px 0 0 20px;
            color: #666;
        }
    }

    .cmnsContent {
        margin-top: 20px;

        // 评论输入框
        .iptArea {
            margin-bottom: 20px;

            .avatar {
                display: inline-block;
                width: 50px;
                height: 50px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .yourComment {
                display: inline-block;
                vertical-align: top;
                margin-left: 12px;

                textarea {
                    resize: none;
                    height: 50px;
                    padding: 5px 6px 6px;
                    box-sizing: content-box;
                    border-radius: 2px;
                    line-height: 19px;
                }

                .down {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 10px;

                    .icon {
                        width: 18px;
                        height: 18px;
                        margin-right: 10px;
                    }

                    .smell {
                        background-position: -40px -490px;
                    }

                    .at {
                        background-position: -60px -490px;
                    }

                    .submit {
                        .leftWords {
                            display: inline-block;
                            line-height: 25px;
                            margin-right: 10px;
                            color: #999;
                        }

                        .enter {
                            cursor: pointer;
                            width: 46px;
                            height: 25px;
                            background: url(../../assets/details/button2.png) no-repeat;
                            background-position: -84px -64px;
                            border: none;
                            color: #fff;
                            text-align: center;
                            line-height: 25px;

                            &:hover {
                                background-position: -84px -94px;
                            }
                        }
                    }
                }
            }
        }

        // 精彩评论 及 最新评论
        .newComments {
            h3 {
                height: 20px;
                line-height: 20px;
                box-sizing: content-box;
                border-bottom: 1px solid #cfcfcf;
                margin: 0;
                font-size: 12px;
                font-weight: bold;
            }

            ul {

                li {
                    padding: 15px 0;
                    border-top: 1px dotted #ccc;

                    .avatar {
                        display: inline-block;
                        width: 50px;
                        height: 50px;

                        a {
                            display: inline-block;

                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }

                    .contentWrap {
                        display: inline-block;
                        width: 570px;
                        margin-left: 10px;
                        vertical-align: top;

                        .up {
                            line-height: 20px;

                            .nickName {
                                color: #0c73c2;
                                margin-right: 5px;
                            }
                        }

                        .down {
                            margin-top: 15px;
                            display: flex;
                            justify-content: space-between;

                            .time {
                                color: #999;
                            }

                            .right {
                                .agree {
                                    cursor: pointer;
                                    color: #333;

                                    .yesOrNot {
                                        margin-right: 5px;
                                        background-position: -150px 0;
                                    }

                                    .yes {
                                        margin-right: 5px;
                                        background-position: -170px 0;
                                    }
                                }

                                .line {
                                    color: #ccc;
                                    margin: 0 8px;
                                }

                                .reply {
                                    color: #666;
                                }
                            }
                        }
                    }
                }
            }
        }

        // 分页器
        .pagination {
            margin: 20px 0;
            text-align: center;
            font-size: 12px;
            line-height: 160%;

            .ant-pagination {
                li {
                    display: inline-block;

                    .anticon-double-right {
                        display: none;
                    }

                    .ant-pagination-item-ellipsis {
                        color: #333;
                    }
                }

                .ant-pagination-prev,
                .ant-pagination-next {
                    button {
                        width: 47px;
                        height: 24px;
                        line-height: 24px;
                        text-align: center;

                        span {
                            display: block;
                        }
                    }
                }

                .ant-pagination-item {
                    height: 22px;
                    padding: 0 8px;
                    background-color: #fff;
                    line-height: 22px;
                    border: 1px solid #ccc;
                    box-sizing: content-box;
                    margin: 0 1px 0 2px;
                    border-radius: 2px;
                    vertical-align: top;

                    a {
                        color: #333;
                    }
                }

                .ant-pagination-item-active {
                    border: 1px solid #c20c0c;
                    background: #c20c0c;

                    a {
                        color: #fff;
                    }
                }
            }
        }
    }
}


// 右侧相似区域
.sameSongs {
    padding: 20px 40px 40px 30px;

    h3 {
        height: 23px;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        color: #333;
        font-size: 12px;
        font-weight: bold;
    }

    .similar {
        ul {
            margin-bottom: 25px;

            li {
                margin-top: 10px;
                display: flex;
                justify-content: space-between;

                .txt {
                    width: 156px;
                    line-height: 16px;
                    font-size: 12px;

                    .song {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;

                        a {
                            color: #333;
                        }
                    }

                    .author {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;

                        a {
                            color: #999;
                        }

                    }

                    a:hover {
                        text-decoration: underline;
                    }
                }

                .options {
                    line-height: 32px;

                    .play {
                        width: 10px;
                        height: 11px;
                        background-position: -69px -455px;
                        opacity: 0.9;
                        margin-right: 16px;

                        &:hover {
                            opacity: 1;
                        }
                    }

                    .addTo {
                        width: 10px;
                        height: 11px;
                        background-position: -87px -454px;
                        opacity: 0.9;

                        &:hover {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }

    .multiDownload {

        ul {
            height: 65px;
            margin-bottom: 10px;
            background: url(../../assets/download.png) no-repeat;
            background-position: 0 -392px;

            li {
                float: left;

                a {
                    display: block;
                    width: 42px;
                    height: 48px;
                    text-indent: -9999px;

                    &:hover {
                        background: url(../../assets/download.png) no-repeat;
                        background-position: 0 -472px;
                    }
                }

                .PC {
                    width: 60px;
                    margin: 0 25px 0 30px;

                    &:hover {
                        background-position: -72px -472px;
                    }
                }

                .android {
                    width: 41px;

                    &:hover {
                        background-position: -158px -472px;
                    }

                }
            }
        }

        .tip {
            font-size: 12px;
            color: #999;
        }
    }
}


// 底部播放器
.playerWrap {
    position: fixed;
    bottom: -45px;
    left: 0;
    z-index: 100000;
    width: 100%;
    overflow: hidden;
    height: 67px;
    transition: all ease .3s;

    &:hover{
        bottom: 0;
    }

    // 黑色背景图
    .bg {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        height: 53px;
        background: url(../../assets/details/playbar.png) repeat-x 0 0;
        margin-right: 67px;
    }

    .mediaPlayer {
        width: 980px;
        height: 47px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        margin-top: 20px;
        color: #fff;

        a {
            font-size: 0;
        }

        // 播放暂停按钮区
        .btns {
            display: inline-block;
            width: 137px;
            height: 100%;
            padding-top: 6px;
            box-sizing: border-box;
            vertical-align: top;

            .prev {
                margin: 5px 8px 0 0;
                background-position: 0 -130px;
                vertical-align: middle;

                &:hover {
                    background-position: -30px -130px;
                }
            }

            .play {
                width: 36px;
                height: 36px;
                margin-right: 8px;
                background-position: 0 -204px;
                vertical-align: middle;

                &:hover {
                    background-position: -40px -204px;
                }
            }

            .next {
                margin: 5px 8px 0 0;
                background-position: -80px -130px;
                vertical-align: middle;

                &:hover {
                    background-position: -110px -130px;
                }
            }
        }

        // 歌曲头像
        .head {
            display: inline-block;
            position: relative;
            margin: 6px 15px 0 0;
            width: 34px;
            height: 34px;
            vertical-align: top;

            img {
                width: 34px;
                height: 34px;
            }

            .mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 34px;
                height: 35px;
                background-position: 0 -80px;
            }
        }

        // 歌曲信息及进度条
        .play {
            display: inline-block;
            width: 608px;
            vertical-align: top;

            a {
                display: inline-block;
                font-size: 12px;
            }

            .songInfo {
                height: 28px;
                overflow: hidden;
                color: #e8e8e8;
                text-shadow: 0 1px 0 #171717;
                line-height: 28px;

                .songName {
                    color: #e8e8e8;
                    max-width: 300px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    &:hover {
                        text-decoration: underline;
                    }
                }

                .singer {
                    max-width: 220px;
                    margin-left: 15px;
                    color: #9b9b9b;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }

            .progressBar {
                width: 493px;
                position: relative;

                .barbg {
                    height: 9px;
                    width: 493px;
                    background: url(../../assets/details/statbar.png) no-repeat right 0;

                    .ready {
                        height: 9px;
                        background: url(../../assets/details/statbar.png) no-repeat right -30px;
                    }
                    .cur{
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 9px;
                        width: 1%;
                        background: url(../../assets/details/statbar.png) no-repeat left -66px;

                        .curBtn{
                            background-position: 0 -250px;
                            position: absolute;
                            top: -7px;
                            right: -13px;
                            margin-left: -11px;
                        }
                    }
                }

                .time{
                    position: absolute;
                    top: -8px;
                    right: -90px;
                    color: #797979;
                    text-shadow: 0 1px 0 #121212;

                    em{
                        color: #a1a1a1;
                        font-style: normal;
                        text-align: left;
                    }
                }
            }
        }

        // 添加到播放列表和分享
        .addShare{
            display: inline-block;
            width: 60px;

            .add{
                width: 25px;
                height: 25px;
                margin: 11px 2px 0 0;
                background-position: -88px -163px;

                &:hover{
                    background-position: -88px -189px;
                }
            }
            .share{
                width: 25px;
                height: 25px;
                margin: 11px 2px 0 0;
                background-position: -114px -163px;

                &:hover{
                    background-position: -114px -189px;
                }
            }
        }

        // 其他功能按钮
        .others{
            vertical-align: top;
            position: relative;
            z-index: 10;
            width: 113px;
            height: 36px;
            padding-left: 13px;
            box-sizing: content-box;
            background-position: -147px -238px;

            .volume{
                position: absolute;
                top: -113px;
                left: 9px;
                width: 32px;
                height: 113px;
                overflow: hidden;
                display: none;

                .barbg{
                    width: 32px;
                    height: 113px;
                    background-position: 0 -503px;
                }

                .volNull{
                    padding: 4px 0;
                    position: absolute;
                    top: 7px;
                    left: 14px;
                    width: 4px;
                    height: 93px;

                    .volCur{
                        height: 93px;
                        width: 4px;
                        background-position: -40px bottom;
                        overflow: hidden;
                        position: absolute;
                        top: auto;
                        left: 0;
                    }

                    .volBtn{
                        position: absolute;
                        top: 0;
                        left: -7px;
                        width: 18px;
                        height: 20px;
                        background-position: -40px -250px;
                        cursor: pointer;

                        &:hover{
                            background-position: -40px -280px;
                        }
                    }
                }
            }

            .vol{
                width: 25px;
                height: 25px;
                margin: 11px 2px 0 0;
                background-position: -2px -248px;

                &:hover{
                    background-position: -31px -248px;
                }
            }
            .mode{
                width: 25px;
                height: 25px;
                margin: 11px 2px 0 0;
                background-position: -3px -344px;

                &:hover{
                    background-position: -33px -344px;
                }
            }
            .songList{
                display: inline-block;
                width: 59px;
                height: 36px;

                .list{
                    width: 38px;
                    height: 25px;
                    line-height: 27px;
                    padding-left: 21px;
                    box-sizing: content-box;
                    background-position: -42px -68px;
                    text-align: center;
                    color: #666;
                    font-size: 12px;
                    text-shadow: 0 1px 0 #080707;
                    margin: 11px 2px 0 0;
                    vertical-align: 7px;

                    &:hover{
                        background-position: -42px -98px;
                    }
                }
            }
        }

        // 播放列表
    }

    // 锁定解锁按钮
    .lock{
        width: 52px;
        height: 67px;
        position: absolute;
        top: 0;
        right: 15px;
        background-position: 0 -380px;

        .lockOrNot{
            width: 18px;
            height: 18px;
            margin: 6px 0 0 17px;
            // background-position: -100px -380px;
            background-position: -80px -380px;

            &:hover{
                background-position: -80px -400px;
                // background-position: -100px -400px;
            }
        }
    }

    // 右侧补全区域
    .right{
        position: absolute;
        top: 13px;
        right: 0;
        width: 15px;
        height: 54px;
        background-position: -52px -393px;
    }

}